/*
 * INSANE - Interactive Structural Analysis Environment
 *
 * Copyright (C) 2003-2005
 * Universidade Federal de Minas Gerais
 * Escola de Engenharia
 * Departamento de Engenharia de Estruturas
 * 
 * Author's email :    insane@dees.ufmg.br
 * Author's website :  http://www.dees.ufmg.br/insane
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
package br.ufmg.dees.insane.util.pointValues;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Class representing PointValues
 * @author Roque, Marcos, Samir, Flavio, Jamile
 * @since Aug 5, 2005
 */
public abstract class PointValues implements Serializable{
    
	/** Returns the ArrayList of Point Values.
	*@return The ArrayList of Point Values.
	*/
    public abstract ArrayList<?> getPointValue();
	
    /** Returns the ArrayList of Point Values.
	*@return The ArrayList of Point Values.
	*/
    public abstract ArrayList<Double> getDoublePointValue();
    
    /** Returns the ArrayList of Point Values.
	*@return The ArrayList of Point Values.
	*/
    public abstract ArrayList<Integer> getIntPointValue();
    
    /** Returns the ArrayList of Point Values.
	*@return The ArrayList of Point Values.
	*/
    public abstract ArrayList<Boolean> getBooleanPointValue();
    
    /** Returns the ArrayList of Point Values.
	*@return The ArrayList of Point Values.
	*/
    public abstract ArrayList<String> getStringPointValue();
    
    /** Returns the double at position i of the double[] of Point Values.
	*@return The double at position i of the double[] of Point Values.
	*/
    public abstract Object getPointValue(int i);

    /** Returns the double at position i of the double[] of Point Values.
	*@return The double at position i of the double[] of Point Values.
	*/
    public abstract double getDoublePointValue(int i);
    
    /** Returns the int at position i of the int[] of Point Values.
	*@return The int at position i of the int[] of Point Values.
	*/
    public abstract int getIntPointValue(int i);
    
    /** Returns the boolean at position i of the boolean[] of Point Values.
	*@return The boolean at position i of the boolean[] of Point Values.
	*/
    public abstract boolean getBooleanPointValue(int i);
    
    /** Returns the boolean at position i of the String[] of Point Values.
	*@return The boolean at position i of the String[] of Point Values.
	*/
    public abstract String getStringPointValue(int i);

    /** Sets a double[] to Point Values.
	*@param dpv The double[] of Point Values to set.
	*/
    public abstract void setPointValueAsDouble(ArrayList<Double> dpv);
    
    /** Sets a int[] to Point Values.
	*@param ipv The int[] of Point Values to set.
	*/
    public abstract void setPointValueAsInt(ArrayList<Integer> ipv);
    
    /** Sets a boolean[] to Point Values.
	*@param bpv The boolean[] of Point Values to set.
	*/
    public abstract void setPointValueAsBoolean(ArrayList<Boolean> bpv);
    
    /** Sets a String[] to Point Values.
	*@param spv The String[] of Point Values to set.
	*/
    public abstract void setPointValueAsString(ArrayList<String> spv);

    /** Sets a double at position i of the double[] of Point Values.
	*@param d The double to set.
	*/
    public abstract void setPointValueAsDouble(int i, double d);
    
    /** Sets a int at position i of the int[] of Point Values.
	*@param integer The int to set.
	*/
    public abstract void setPointValueAsInt(int i, int integer);
    
    /** Sets a boolean at position i of the boolean[] of Point Values.
	*@param b The boolean to set.
	*/
    public abstract void setPointValueAsBoolean(int i, boolean b);
    
    /** Sets a String at position i of the String[] of Point Values.
	*@param s The String to set.
	*/
    public abstract void setPointValueAsString(int i, String s);

    /** Adds a double at position i of the double[] of Point Values.
	*@param d The double to add.
	*/
    public abstract void addPointValue(double d);
    
    /** Adds a int at position i of the int[] of Point Values.
	*@param integer The int to add.
	*/
    public abstract void addPointValue(int integer);
    
    /** Adds a boolean at position i of the boolean[] of Point Values.
	*@param b The boolean to add.
	*/
    public abstract void addPointValue(boolean b);
    
    /** Adds a String at position i of the String[] of Point Values.
	*@param s The String to add.
	*/
    public abstract void addPointValue(String s);
    
    /** Returns the size of this PointValue
	*@return The size of this PointValue
	*/
    public abstract int getSize();

}